package com.authine.hermes.app.launcher;

import com.spring4all.swagger.EnableSwagger2Doc;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.scheduling.annotation.EnableAsync;

/**
 * 服务的启动入口，只做组装
 *
 * @author carter
 */

@EnableSwagger2Doc
@EnableFeignClients(basePackages = {"com.authine"})
@SpringBootApplication(scanBasePackages = {"com.authine","com.alibaba.cola"})
@EnableAsync
public class Application {

    public static void main(String[] args) {
        SpringApplication.run(Application.class, args);
    }

}

